3.7.44 \(\int \frac {x^9}{a+c x^4} \, dx\) [644]

Optimal. Leaf size=51 \[ -\frac {a x^2}{2 c^2}+\frac {x^6}{6 c}+\frac {a^{3/2} \tan ^{-1}\left (\frac {\sqrt {c} x^2}{\sqrt {a}}\right )}{2 c^{5/2}} \]

[Out]

-1/2*a*x^2/c^2+1/6*x^6/c+1/2*a^(3/2)*arctan(x^2*c^(1/2)/a^(1/2))/c^(5/2)

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 51, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.231, Rules used = {281, 308, 211} \begin {gather*} \frac {a^{3/2} \text {ArcTan}\left (\frac {\sqrt {c} x^2}{\sqrt {a}}\right )}{2 c^{5/2}}-\frac {a x^2}{2 c^2}+\frac {x^6}{6 c} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x^9/(a + c*x^4),x]

[Out]

-1/2*(a*x^2)/c^2 + x^6/(6*c) + (a^(3/2)*ArcTan[(Sqrt[c]*x^2)/Sqrt[a]])/(2*c^(5/2))

Rule 211

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[a/b, 2]/a)*ArcTan[x/Rt[a/b, 2]], x] /; FreeQ[{a, b}, x]
&& PosQ[a/b]

Rule 281

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> With[{k = GCD[m + 1, n]}, Dist[1/k, Subst[Int[x^((m
 + 1)/k - 1)*(a + b*x^(n/k))^p, x], x, x^k], x] /; k != 1] /; FreeQ[{a, b, p}, x] && IGtQ[n, 0] && IntegerQ[m]

Rule 308

Int[(x_)^(m_)/((a_) + (b_.)*(x_)^(n_)), x_Symbol] :> Int[PolynomialDivide[x^m, a + b*x^n, x], x] /; FreeQ[{a,
b}, x] && IGtQ[m, 0] && IGtQ[n, 0] && GtQ[m, 2*n - 1]

Rubi steps

\begin {align*} \int \frac {x^9}{a+c x^4} \, dx &=\frac {1}{2} \text {Subst}\left (\int \frac {x^4}{a+c x^2} \, dx,x,x^2\right )\\ &=\frac {1}{2} \text {Subst}\left (\int \left (-\frac {a}{c^2}+\frac {x^2}{c}+\frac {a^2}{c^2 \left (a+c x^2\right )}\right ) \, dx,x,x^2\right )\\ &=-\frac {a x^2}{2 c^2}+\frac {x^6}{6 c}+\frac {a^2 \text {Subst}\left (\int \frac {1}{a+c x^2} \, dx,x,x^2\right )}{2 c^2}\\ &=-\frac {a x^2}{2 c^2}+\frac {x^6}{6 c}+\frac {a^{3/2} \tan ^{-1}\left (\frac {\sqrt {c} x^2}{\sqrt {a}}\right )}{2 c^{5/2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.02, size = 48, normalized size = 0.94 \begin {gather*} \frac {1}{6} \left (\frac {-3 a x^2+c x^6}{c^2}+\frac {3 a^{3/2} \tan ^{-1}\left (\frac {\sqrt {c} x^2}{\sqrt {a}}\right )}{c^{5/2}}\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x^9/(a + c*x^4),x]

[Out]

((-3*a*x^2 + c*x^6)/c^2 + (3*a^(3/2)*ArcTan[(Sqrt[c]*x^2)/Sqrt[a]])/c^(5/2))/6

________________________________________________________________________________________

Maple [A]
time = 0.16, size = 43, normalized size = 0.84

method result size
default \(-\frac {-\frac {1}{3} c \,x^{6}+a \,x^{2}}{2 c^{2}}+\frac {a^{2} \arctan \left (\frac {c \,x^{2}}{\sqrt {a c}}\right )}{2 c^{2} \sqrt {a c}}\) \(43\)
risch \(\frac {x^{6}}{6 c}-\frac {a \,x^{2}}{2 c^{2}}+\frac {\sqrt {-a c}\, a \ln \left (c \,x^{2}+\sqrt {-a c}\right )}{4 c^{3}}-\frac {\sqrt {-a c}\, a \ln \left (c \,x^{2}-\sqrt {-a c}\right )}{4 c^{3}}\) \(71\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^9/(c*x^4+a),x,method=_RETURNVERBOSE)

[Out]

-1/2/c^2*(-1/3*c*x^6+a*x^2)+1/2*a^2/c^2/(a*c)^(1/2)*arctan(c*x^2/(a*c)^(1/2))

________________________________________________________________________________________

Maxima [A]
time = 0.49, size = 42, normalized size = 0.82 \begin {gather*} \frac {a^{2} \arctan \left (\frac {c x^{2}}{\sqrt {a c}}\right )}{2 \, \sqrt {a c} c^{2}} + \frac {c x^{6} - 3 \, a x^{2}}{6 \, c^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^9/(c*x^4+a),x, algorithm="maxima")

[Out]

1/2*a^2*arctan(c*x^2/sqrt(a*c))/(sqrt(a*c)*c^2) + 1/6*(c*x^6 - 3*a*x^2)/c^2

________________________________________________________________________________________

Fricas [A]
time = 0.39, size = 107, normalized size = 2.10 \begin {gather*} \left [\frac {2 \, c x^{6} - 6 \, a x^{2} + 3 \, a \sqrt {-\frac {a}{c}} \log \left (\frac {c x^{4} + 2 \, c x^{2} \sqrt {-\frac {a}{c}} - a}{c x^{4} + a}\right )}{12 \, c^{2}}, \frac {c x^{6} - 3 \, a x^{2} + 3 \, a \sqrt {\frac {a}{c}} \arctan \left (\frac {c x^{2} \sqrt {\frac {a}{c}}}{a}\right )}{6 \, c^{2}}\right ] \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^9/(c*x^4+a),x, algorithm="fricas")

[Out]

[1/12*(2*c*x^6 - 6*a*x^2 + 3*a*sqrt(-a/c)*log((c*x^4 + 2*c*x^2*sqrt(-a/c) - a)/(c*x^4 + a)))/c^2, 1/6*(c*x^6 -
 3*a*x^2 + 3*a*sqrt(a/c)*arctan(c*x^2*sqrt(a/c)/a))/c^2]

________________________________________________________________________________________

Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 87 vs. \(2 (42) = 84\).
time = 0.09, size = 87, normalized size = 1.71 \begin {gather*} - \frac {a x^{2}}{2 c^{2}} - \frac {\sqrt {- \frac {a^{3}}{c^{5}}} \log {\left (x^{2} - \frac {c^{2} \sqrt {- \frac {a^{3}}{c^{5}}}}{a} \right )}}{4} + \frac {\sqrt {- \frac {a^{3}}{c^{5}}} \log {\left (x^{2} + \frac {c^{2} \sqrt {- \frac {a^{3}}{c^{5}}}}{a} \right )}}{4} + \frac {x^{6}}{6 c} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**9/(c*x**4+a),x)

[Out]

-a*x**2/(2*c**2) - sqrt(-a**3/c**5)*log(x**2 - c**2*sqrt(-a**3/c**5)/a)/4 + sqrt(-a**3/c**5)*log(x**2 + c**2*s
qrt(-a**3/c**5)/a)/4 + x**6/(6*c)

________________________________________________________________________________________

Giac [A]
time = 0.57, size = 45, normalized size = 0.88 \begin {gather*} \frac {a^{2} \arctan \left (\frac {c x^{2}}{\sqrt {a c}}\right )}{2 \, \sqrt {a c} c^{2}} + \frac {c^{2} x^{6} - 3 \, a c x^{2}}{6 \, c^{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^9/(c*x^4+a),x, algorithm="giac")

[Out]

1/2*a^2*arctan(c*x^2/sqrt(a*c))/(sqrt(a*c)*c^2) + 1/6*(c^2*x^6 - 3*a*c*x^2)/c^3

________________________________________________________________________________________

Mupad [B]
time = 0.09, size = 37, normalized size = 0.73 \begin {gather*} \frac {x^6}{6\,c}-\frac {a\,x^2}{2\,c^2}+\frac {a^{3/2}\,\mathrm {atan}\left (\frac {\sqrt {c}\,x^2}{\sqrt {a}}\right )}{2\,c^{5/2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^9/(a + c*x^4),x)

[Out]

x^6/(6*c) - (a*x^2)/(2*c^2) + (a^(3/2)*atan((c^(1/2)*x^2)/a^(1/2)))/(2*c^(5/2))

________________________________________________________________________________________